//
//  NSString+JumpH5.m
//  GanJie
//
//  Created by 杨肖宇 on 2017/12/11.
//  Copyright © 2017年 yxy. All rights reserved.
//

#import "NSString+JumpH5.h"

@implementation NSString (JumpH5)

- (NSString *)jumpH5AppendString{
    if ([self rangeOfString:@"?"].location != NSNotFound) {
        return [NSString stringWithFormat:@"%@&comeFrom=home", self];
    }else{
        return [NSString stringWithFormat:@"%@?comeFrom=home", self];
    }
}
@end
